/**
 * @file NewProtocolCurtisNuoli.h
 * @author SoBigDog (luke@seer-robotics.com)
 * @brief 
 * @version 0.1
 * @date 2019-11-13
 * 
 * @copyright Copyright (c) 2019
 * 
 */
#pragma once 

#include "ProtocolDriver.h"

/**
 * @brief 
 * 
 */
class CNewProtocolCurtisNuoli : public CDriverProtocol
{
public:
	CNewProtocolCurtisNuoli();
	virtual ~CNewProtocolCurtisNuoli(){}
	virtual void setMotorId(uint32_t id) {
		_motorId = id;
        _motorRxId = 0x260;
		_motorTxId = 0x000;
	}
	
	virtual bool encode(motorDriverCmdType ct, int32_t val);
	//virtual int decode(motorDriverCmdType (&ct)[10], int32_t (&val)[10], const CanRxMsg&);
private:
	static int16_t _speedVal;
	static int16_t _forkVel;
	static bool _lift_flag;
	static bool _lower_flag;
};
